/**
 * Copyright 2023 Inc.
 **/
package com.example.javaassist;

import java.lang.instrument.Instrumentation;

/**
 * @author maoyz0621 on 2023/10/26
 * @version v1.0
 */
public class AgentDemo {

    public static void premain(String args, Instrumentation instr) {
        System.out.println("^^^^^^^^^^^^^^^^^^AgentDemo premain^^^^^^^^^^^^^^^^^^^^^^^");
        instr.addTransformer(new MyClassFileTransformer(args));
    }
}